package com.gg.service;

import com.gg.pojo.Cart;
import com.gg.pojo.Order;
import com.gg.pojo.OrderItem;

import java.util.List;

public interface OrderService {
    public String createOrder(Cart cart,Integer userId);

    public List<Order> showAllOrders();

    public void sendOrder(String orderId);

    public List<OrderItem> showOrderDetail(String orderId);

    public List<Order> showMyOrders(int userId);
}
